<?php

namespace common\models\cms;

use Yii;

/**
 * This is the model class for table "{{%cms_article_channel}}".
 *
 * @property int $id
 * @property int $article_id
 * @property int $channel_id
 * @property int $created_at
 * @property int $updated_at
 */
class CmsArticleChannel extends \common\db\ActiveRecord {

    /**
     * {@inheritdoc}
     */
    public static function tableName() {
        return '{{%cms_article_channel}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules() {
        return [
            [['article_id', 'channel_id', 'created_at', 'updated_at'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels() {
        return [
            'id' => 'ID',
            'article_id' => 'Article ID',
            'channel_id' => 'Channel ID',
            'created_at' => 'Created At',
            'updated_at' => 'Updated At',
        ];
    }

}
